﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Manager_Parameters_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px"
        ShowBorder="false" ShowHeader="false" AutoHeight="true" AutoWidth="true" Title="Panel" >
        <Items>
        <ext:Grid ID="Grid1" runat="server" EnableCheckBoxSelect="false" 
        ShowHeader="true" EnableRowNumber="true" AutoWidth="true"
        Title="系统参数" DataKeyNames="ID,TName" onrowcommand="Grid1_RowCommand">
        <Columns>
            <ext:BoundField DataField="TName" HeaderText="参数名称" Width="100px" />
            <ext:TemplateField HeaderText="参数值"  ExpandUnusedSpace="true">
                <ItemTemplate>
                    <asp:TextBox ID="txtValue" runat="server"  MaxLength="200" Text='<%#Eval("TValue").ToString() %>' Width="100%"></asp:TextBox>
                </ItemTemplate>
            </ext:TemplateField>
            <ext:LinkButtonField Width="50px" CommandName="Edit" HeaderText="操作" Text="修改" />
        </Columns>
    </ext:Grid>
        </Items>
    </ext:Panel>
    
    </form>
</body>
</html>
